const flat = [
  {
    routeId: 0,
    name: "root",
    path: "/root",
    component: null,
    description: "虚拟树根",
    navLevel: 0,
    groupOrder: 1,
    parentId: -1,
    type: 0,
    pids: "",
    viewLevel: 1,
  },
  {
    routeId: 1,
    name: "DashBoard",
    path: "/dashBoard",
    component: "DashBoard",
    description: "首页",
    navLevel: 1,
    groupOrder: 1,
    parentId: 0,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 2,
    name: "GoodsGroup",
    path: "",
    component: "",
    description: "商品基础",
    navLevel: 1,
    groupOrder: 2,
    parentId: 0,
    type: 0,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 3,
    name: "GoodsSpplier",
    path: "/goods/supplier",
    component: "GoodsSpplier",
    description: "供货商",
    navLevel: 2,
    groupOrder: 1,
    parentId: 2,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 4,
    name: "GoodsType",
    path: "/goods/type",
    component: "GoodsType",
    description: "商品类别",
    navLevel: 2,
    groupOrder: 2,
    parentId: 2,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 5,
    name: "GoodsData",
    path: "/goods/data",
    component: "GoodsData",
    description: "商品资料",
    navLevel: 2,
    groupOrder: 3,
    parentId: 2,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 6,
    name: "GoodsStorage",
    path: "/goods/storage",
    component: "GoodsStorage",
    description: "仓库管理",
    navLevel: 2,
    groupOrder: 4,
    parentId: 2,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 7,
    name: "BillGroup",
    path: "",
    component: "",
    description: "业务单据",
    navLevel: 1,
    groupOrder: 3,
    parentId: 0,
    type: 0,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 8,
    name: "BillManagement",
    path: "",
    component: "",
    description: "批量进销管理",
    navLevel: 2,
    groupOrder: 1,
    parentId: 7,
    type: 0,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 9,
    name: "PurchaseStockInBill",
    path: "/purchaseStockInBill",
    component: "PurchaseStockInBill",
    description: "采购入库单",
    navLevel: 3,
    groupOrder: 1,
    parentId: 8,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 10,
    name: "PurchaseReturnedBill",
    path: "/purchaseReturnedBill",
    component: "PurchaseReturnedBill",
    description: "采购退货单",
    navLevel: 3,
    groupOrder: 2,
    parentId: 8,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 11,
    name: "SellingStockOutBill",
    path: "/sellingStockOutBill",
    component: "SellingStockOutBill",
    description: "销售出库单",
    navLevel: 3,
    groupOrder: 3,
    parentId: 8,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 12,
    name: "SellingReturnedBill",
    path: "/sellingReturnedBill",
    component: "SellingReturnedBill",
    description: "销售退货单",
    navLevel: 3,
    groupOrder: 4,
    parentId: 8,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 13,
    name: "StockCheckBill",
    path: "/stockCheckBill",
    component: "StockCheckBill",
    description: "盘点单",
    navLevel: 2,
    groupOrder: 2,
    parentId: 7,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 14,
    name: "StatisticsReport",
    path: "",
    component: "",
    description: "统计报表",
    navLevel: 2,
    groupOrder: 3,
    parentId: 7,
    type: 0,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 15,
    name: "StockDetails",
    path: "/stockDetails",
    component: "StockDetails",
    description: "库存明细",
    navLevel: 3,
    groupOrder: 1,
    parentId: 14,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 16,
    name: "Profit",
    path: "/profit",
    component: "Profit",
    description: "利润查询",
    navLevel: 3,
    groupOrder: 2,
    parentId: 14,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 17,
    name: "HumanSupport",
    path: "",
    component: "",
    description: "人事支持",
    navLevel: 1,
    groupOrder: 4,
    parentId: 0,
    type: 0,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 18,
    name: "LeaveGroup",
    path: "",
    component: "",
    description: "请假条业务",
    navLevel: 2,
    groupOrder: 1,
    parentId: 17,
    type: 0,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 19,
    name: "LeaveApply",
    path: "/leaveApply",
    component: "LeaveApply",
    description: "请假申请",
    navLevel: 3,
    groupOrder: 1,
    parentId: 18,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 20,
    name: "LeaveAudit",
    path: "/leaveAudit",
    component: "LeaveAudit",
    description: "请假审核",
    navLevel: 3,
    groupOrder: 2,
    parentId: 18,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
  {
    routeId: 21,
    name: "Salary",
    path: "/salary",
    component: "Salary",
    description: "薪酬单",
    navLevel: 2,
    groupOrder: 2,
    parentId: 17,
    type: 1,
    pids: "",
    viewLevel: 2,
  },
];
export default flat;
